package com.zty.demo;

public class AddressCard {
	
	private String addressname;
	private String addressphone;
	private String address;
	public String getAddressname() {
		return addressname;
	}
	public void setAddressname(String addressname) {
		this.addressname = addressname;
	}
	public String getAddressphone() {
		return addressphone;
	}
	public void setAddressphone(String addressphone) {
		this.addressphone = addressphone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public AddressCard()
	{		
	}
	
	
	public AddressCard(String name,String phone,String address)
	{		
		this.addressname = name;
		this.addressphone = phone;
		this.address = address;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return getAddressname()+","+getAddressphone()+","+getAddress();
	}
}
